﻿using System;
using System.Messaging;

namespace MSMQ
{
    class Program
    {
        static void Main(string[] args)
        {
            using (MessageQueue TradeQueue = MessageQueue.Create(@".\Private$\TradeQueue"))
            {
                TradeQueue.Label = "Trades";
                Console.WriteLine("Trade Queue Created");
                Console.WriteLine("Path {0}", TradeQueue.Path);
                Console.WriteLine("FormatName:{0}", TradeQueue.FormatName);
                Console.Read();
            }
        }
    }
}
